/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/

#ifndef BAREOS_FILED_FILESET_H_
#define BAREOS_FILED_FILESET_H_ 1

namespace filedaemon {

bool InitFileset(JobControlRecord* jcr);
void AddFileToFileset(JobControlRecord* jcr, const char* fname, bool IsFile);
findIncludeExcludeItem* get_incexe(JobControlRecord* jcr);
void SetIncexe(JobControlRecord* jcr, findIncludeExcludeItem* incexe);
int AddRegexToFileset(JobControlRecord* jcr, const char* item, int type);
int AddWildToFileset(JobControlRecord* jcr, const char* item, int type);
int AddOptionsToFileset(JobControlRecord* jcr, const char* item);
void AddFileset(JobControlRecord* jcr, const char* item);
bool TermFileset(JobControlRecord* jcr);

} /* namespace filedaemon */

#endif /* BAREOS_FILED_FILESET_H_ */
